package com.hamizhong.iflowers.common.logger;

import org.apache.log4j.Logger;

public class MyLogger {
	
	private Logger logger = null;
	public MyLogger(Logger logger) {
		this.logger = logger;
	}
	
	public void debug(String message) {
		logger.debug(message);
	}
	
	public void info(String message) {
		logger.info(message);
	}
	
	public void warn(String message) {
		logger.warn(message);
	}
	
	public void error(String message) {
		logger.error(message);
	}
	
	public void error(String message, Throwable th) {
		logger.error(message, th);
	}
	
	public void fatal(String message) {
		logger.fatal(message);
	}
	
	public void fatal(String message, Throwable th) {
		logger.fatal(message, th);
	}
}
